#include "stdafx.h"
#include <iostream>

#include "DemoException.h"
#include "DemoSha224.h"
#include "DemoSocket.h"
#include "DemoThreads.h"
#include "DemoFiles.h"
#include "DemoDateTime.h"
#include "DemoSerialize.h"

#include "CProtocolFrame.h"
#include "CProtocolFrameNotifyNewFileRequest.h"

using namespace std;

void demos( int argc, char *argv[] ) {
	//
	// Display parameters received from command line
	cout << endl;
	cout << "** Parameters dump:" << endl;
	for (int i = 0; i < argc; i++) {
		cout << "argv[" << i << "] = \"" << argv[ i ] << "\"" << endl;
	}

	//
	// Test libraries
	cout <<endl;
	//testThreads();
	//testException();
	//testSha224();
	//testSocket();
	//testFile();
	//testDateTi	testSerialize();

	return;
}


int main( int argc, char *argv[] ) {
	cout << "** Welcome to this demo skeleton." << endl;

	demos( argc, argv );

	cout << "** Goodbye" << endl;

	cout << "*************************** *********************" << endl;
	cout << "************** PEER EN PIRE *********************" << endl;
	cout << "*************************** *********************" << endl;





	system( "pause" );
	return 0;
}
